﻿using System;
using System.Runtime.InteropServices;

namespace Vaffanculo.Presentation.Component.WizardControl
{
    internal class NonClientRegionApi
    {

        [StructLayout(LayoutKind.Sequential)]
        public struct Margins
        {
            public int cxLeftWidth;
            public int cxRightWidth;
            public int cyTopHeight;
            public int cyBottomHeight;
        };


        [DllImport("DwmApi.dll")]
        public static extern int DwmExtendFrameIntoClientArea(
            IntPtr hwnd,
            ref Margins pMarInset);
    }
}
